package com.syp.auth.domain.vo;

import java.util.LinkedList;
import java.util.List;

public class ResourceVo {

	/**
	 * 主键ID
	 */
	private Long id; // 主键id
	/**
	 * 资源编码
	 */
	private String resCode;
	/**
	 * 资源名称
	 */
	private String resName;
	/**
	 * 应用ID
	 */
	private Long appId;
	/**
	 * 应用编码
	 */
	private String appCode;

	/**
	 * 应用名称
	 */
	private String appName;
	/**
	 * 资源地址
	 */
	private String resUrl;
	/**
	 * 上级资源ID
	 */
	private Long resPid;
	/**
	 * 作为首页
	 */
	private Integer isDefault = 0;
	/**
	 * 记录访问日志
	 */
	private Integer isLogAccess = 0;
	/**
	 * 资源编码
	 */
	private String resPcode;
	/**
	 * 资源名称
	 */
	private String resPname;
	/**
	 * 资源顺序
	 */
	private Integer resSeq;
	/**
	 * 资源类型
	 */
	private Integer resType;
	/**
	 * 资源图标
	 */
	private String resIcon;
	/**
	 * 资源描述
	 */
	private String resDesc;
	/**
	 * 资源状态
	 */
	private Integer resStatus;
	/**
	 * 资源状态
	 */
	private String resStatusText;
	/**
	 * 下级资源集合
	 */
	private List<ResourceVo> children = new LinkedList<ResourceVo>();

	/**
	 * 资源页面图标
	 */
	private String iconCls;
	/**
	 * 资源页面状态
	 */
	private String state;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getResCode() {
		return resCode;
	}

	public void setResCode(String resCode) {
		this.resCode = resCode;
	}

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public Long getAppId() {
		return appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public String getAppCode() {
		return appCode;
	}

	public void setAppCode(String appCode) {
		this.appCode = appCode;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public String getResUrl() {
		return resUrl;
	}

	public void setResUrl(String resUrl) {
		this.resUrl = resUrl;
	}

	public Long getResPid() {
		return resPid;
	}

	public void setResPid(Long resPid) {
		this.resPid = resPid;
	}

	public Integer getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(Integer isDefault) {
		this.isDefault = isDefault;
	}

	public Integer getIsLogAccess() {
		return isLogAccess;
	}

	public void setIsLogAccess(Integer isLogAccess) {
		this.isLogAccess = isLogAccess;
	}

	public String getResPcode() {
		return resPcode;
	}

	public void setResPcode(String resPcode) {
		this.resPcode = resPcode;
	}

	public String getResPname() {
		return resPname;
	}

	public void setResPname(String resPname) {
		this.resPname = resPname;
	}

	public Integer getResSeq() {
		return resSeq;
	}

	public void setResSeq(Integer resSeq) {
		this.resSeq = resSeq;
	}

	public Integer getResType() {
		return resType;
	}

	public void setResType(Integer resType) {
		this.resType = resType;
	}

	public String getResIcon() {
		return resIcon;
	}

	public void setResIcon(String resIcon) {
		this.resIcon = resIcon;
	}

	public String getResDesc() {
		return resDesc;
	}

	public void setResDesc(String resDesc) {
		this.resDesc = resDesc;
	}

	public Integer getResStatus() {
		return resStatus;
	}

	public void setResStatus(Integer resStatus) {
		this.resStatus = resStatus;
	}

	public String getResStatusText() {
		return resStatusText;
	}

	public void setResStatusText(String resStatusText) {
		this.resStatusText = resStatusText;
	}

	public List<ResourceVo> getChildren() {
		return children;
	}

	public void setChildren(List<ResourceVo> children) {
		this.children = children;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

}
